/*
 * @Author: elfsigin 2714838232@qq.com
 * @Date: 2024-11-16 09:14:53
 * @LastEditors: elfsigin 2714838232@qq.com
 * @LastEditTime: 2024-11-17 14:27:27
 * @FilePath: \VUE3-ELEMENT-PLUS\manager-pei\src\config\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/**
 * 环境配置封装
 */
const env=import.meta.env.MODE||'prod'

const EnvConfig={
    // 开发
    dev:{
        baseApi: '/api',
        mockApi: 'https://mock.apipark.cn/m1/4068509-0-default/api'
        // mockApi: 'https://www.fastmock.site/mock/e564712b4041c3fd10f447858d5b3b39/api'
    },
    //测试
    test:{
       baseApi: '//test.futurefe.com/api',
        mockApi: 'https://mock.apipark.cn/m1/4068509-0-default/api'
        // mockApi: 'https://www.fastmock.site/mock/e564712b4041c3fd10f447858d5b3b39/api'
    },
    //线上(生成)
    prod:{
        baseApi: '//futurefe.com/api',
        mockApi: 'https://mock.apipark.cn/m1/4068509-0-default/api'
        // mockApi: 'https://www.fastmock.site/mock/e564712b4041c3fd10f447858d5b3b39/api'

    }



}
export default{
    env,
    mock:true,
    ...EnvConfig[env]
}